package com.yulinlin.authorization.modules.app.entity;

import com.yulinlin.common.domain.SuperEntity;
import com.yulinlin.data.core.anno.JoinField;
import com.yulinlin.data.core.anno.JoinTable;
import com.yulinlin.data.core.anno.JoinWhere;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;


@Data
@ApiModel("app用户")
@JoinTable("app_user")
public class AppUserEntity extends SuperEntity<AppUserEntity> {



        @NotEmpty(message = "必填")
        @ApiModelProperty("账号")
        @JoinWhere
        @JoinField
        private String username;










        @NotEmpty(message = "必填")
        @ApiModelProperty("密码")
        @JoinWhere
        @JoinField
        private String password;











}
